what is difference between indexers and properties?
4497
24-Jan-2011
Anonymous User
24-Jan-2011Difference between indexers and properties
Properties allow methods to be called as though they were public data members. It accessed through a simple name. It can be a static or an instance member.
Indexers allow methods on an object to be called as though the object is an array. It access through an index. It must be an instance member.